#ifndef __DATABASEMANAGER_H__
#define __DATABASEMANAGER_H__

#include <iostream>
#include <string>
#include <vector>
#include <sqlite3.h>
#include "../Utils/Utils.h"
#include "SQLiteSingleton.h"
using namespace std;

class DatabaseManager {
public:
    DatabaseManager();
    ReturnStatus connect();
    void disconnect();
    ReturnStatus executeQuery(const string& query);
    vector<string> fetchResults(const string& query,const TableChoice tableChoice);
private:
    string dbPath;
    SQLite3Singleton* db;
    
};
extern DatabaseManager Database;

#endif
